/**
 * Copyright (C) 2017 - 2020 https://github.com/joewee
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bifrost.model.ro;

import java.math.BigDecimal;
import java.util.List;

/**
 * 前端商品sku数据模型
 *
 * @author joewee
 * @version 1.0.0
 * @Date 2017/10/26 16:37
 */
public class ProductModel {
    String name, description, brand, brandImage, image, unit, categoryName;
    BigDecimal salePrice, retailPrice, count;
    List images, gifts, tags;
    Long sku, categoryId;
    boolean canAddCart;
    String shippingType;

    public ProductModel() {
    }

    public ProductModel(Long sku, String name, String description, String brand, String brandImage, String image, String unit, String categoryName, BigDecimal salePrice, BigDecimal retailPrice, BigDecimal count, List images, List gifts, List tags, Long categoryId) {
        this.sku = sku;
        this.name = name;
        this.brand = brand;
        this.brandImage = brandImage;
        this.image = image;
        this.unit = unit;
        this.categoryName = categoryName;
        this.salePrice = salePrice;
        this.retailPrice = retailPrice;
        this.count = count;
        this.images = images;
        this.gifts = gifts;
        this.tags = tags;
        this.categoryId = categoryId;
        this.description = description;
    }

    public Long getSku() {
        return sku;
    }

    public void setSku(Long sku) {
        this.sku = sku;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getBrandImage() {
        return brandImage;
    }

    public void setBrandImage(String brandImage) {
        this.brandImage = brandImage;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public List getImages() {
        return images;
    }

    public void setImages(List images) {
        this.images = images;
    }

    public List getGifts() {
        return gifts;
    }

    public void setGifts(List gifts) {
        this.gifts = gifts;
    }

    public List getTags() {
        return tags;
    }

    public void setTags(List tags) {
        this.tags = tags;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public boolean isCanAddCart() {
        return canAddCart;
    }

    public void setCanAddCart(boolean canAddCart) {
        this.canAddCart = canAddCart;
    }

    public String getShippingType() {
        return shippingType;
    }

    public void setShippingType(String shippingType) {
        this.shippingType = shippingType;
    }
}
